<template>
    <fieldset>
        <legend>child组件</legend>
        <h1>child</h1>
        <!-- ß<button @click="handleClick">点击送给父组件</button> -->
    </fieldset>
</template>
<!-- <script>
import { handleError } from "vue";

export default {
  data() {
    return {
      gift: "vue从入门到精通",
    };l
  },
  methods: {
    handleClick() {

    },
  },
};
</script> -->
<!-- <script setup>
let gift = "vue3从入门到精通";
let emits = defineEmits(["res"]);
let handleClick = () => {
  emits("res", gift);
};
</script> -->
